﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectAdminPageControl.ascx.cs"
    Inherits="Besture.UI.Admin.Control.SelectAdminPageControl" %>
<img src="/Admin/Themes/Images/indispensable.gif" align="absMiddle" /><asp:TextBox ID="txtPageUrl"
    runat="server" MaxLength="100" Width="400px" class="input-text required"></asp:TextBox>
<input id="btnSelectPage" type="button" class="button" onclick="ShowPage(); return false;"
    value="选择页面" />
<script type="text/javascript">
    function ShowPage() {
        var selectPage = $("#<%=txtPageUrl.ClientID %>").val();
        var param = "page=" + selectPage+"&button=<%=txtPageUrl.ClientID %>";
        $.dialog({
            title: '选择页面',
            lock: true,
            content: 'url:/Admin/Dialog/AdminPageDialog.aspx?' + param + "&" + Math.random(),
            max: false,
            min: false,
            resize: true,
            width: '400px',
            height: '400px'
        });
    }
</script>
